package com.zqc.user.dao;

import com.zqc.user.model.User;
import org.springframework.data.jpa.repository.JpaRepository;

public interface UserRepository extends JpaRepository<User, Integer> {
    User findByToken(String token);
    User findByEmailAndPassword(String email, String password);
    User findByEmail(String email);
}
